﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using verk2013_project_group12.Models;

namespace verk2013_project_group12.Tests.MockObjects
{
    class MockDb : IAppRepository
    {
        public List<NewsItem> NewsItems { get; set; }
        public List<UserProfile> Users { get; set; }
        public List<Game> Games { get; set; }
        public List<GameInstance> GameInstances { get; set; }

        public IEnumerable<NewsItem> AllNews
        {
            get
            {
                return NewsItems;
            }
            set
            {
            }
        }

        public IEnumerable<UserProfile> AllUsers
        {
            get
            {
                return Users;
            }
            set
            {
            }
        }

        public IEnumerable<Game> AllGames
        {
            get
            {
                return Games;
            }
            set
            {
            }
        }

        public IEnumerable<GameInstance> AllGameInstances
        {
            get
            {
                return GameInstances;
            }
            set
            {
            }
        }
    }
}
